/**
 * 文件名：LogisticsVehicleMapper.java
 *
 * 创建人：Fyh - 1009173473@qq.com
 *
 * 创建时间：2019年9月25日 下午5:11:02
 *
 * 版权所有：南京植百汇智能科技服务有限公司
 */
package com.z100h.supplychain.evidence.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.z100h.supplychain.evidence.entity.LogisticsVehicle;
import com.z100h.supplychain.evidence.entity.LogisticsVehicleListVo;
import com.z100h.supplychain.evidence.entity.Worker;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author Fyh - 1009173473@qq.com
 * @version 1.0 Created on 2019年9月25日 下午5:11:02
 */
@MyBatisMapper
public interface LogisticsVehicleMapper extends BaseMapper<LogisticsVehicle> {

	public List<LogisticsVehicle> findByPage(LogisticsVehicle logisticsVehicle);

	public List<LogisticsVehicleListVo> findByLogisticsVehicleList(@Param("companyId") String companyId);

	public void insertLogisticsVehicle(LogisticsVehicle logisticsVehicle);

	public List<LogisticsVehicle> findLoadByPage(LogisticsVehicle logisticsVehicle);

	public void finish(@Param("ids") List<String> ids, @Param("state") String state,
			@Param("finishOp") String finishOp);

	public void updateRepairAssign(@Param("uid") String uid, @Param("workDate") String workDate,
			@Param("repairIds") List<String> repairIds);

	public List<Worker> findWorkerListByPostType(String postType);

	public List<String> findCustomerIdsByIds(@Param("ids") List<String> ids);

}
